/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package knowledgebase.aspect;

import java.util.Arrays;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
/**
 *
 * @author eugene
 */
//@Aspect
public class LoggingAspect {
    
//    private Log log = LogFactory.getLog(getClass());
//    
//    @Before("execution(public knowledgebase.service.*.*(..))")
//    public void logBefore(JoinPoint joinPoint) {
//        log.info("\n\n****************\n"+joinPoint.getSourceLocation()+"\t"+Arrays.toString(joinPoint.getArgs())+"\n");
//    }
}